Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always select the next clients when autoaccepting shares #8570

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

butonic
Copy link
Member

@butonic butonic commented Mar 4, 2024

fixes autoaccepting shares when k8s decided to move the gateway pod

We need to pass down a selector and get a new client with Next(), right before the call.

Don't worry abouit the the Next() call itself. It stays in memory, as the registry uses a cache that is actively invalidated.

@micbar
Copy link
Contributor

micbar commented Mar 4, 2024

please backport to 4.x and 5.x

Copy link

sonarqubecloud bot commented Mar 4, 2024

@butonic butonic enabled auto-merge March 4, 2024 16:00
@butonic butonic merged commit 3d7a269 into master Mar 4, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the select-next-clients-for-autoaccept branch March 4, 2024 16:01
ownclouders pushed a commit that referenced this pull request Mar 4, 2024
…cept

always select the next clients when autoaccepting shares
@butonic
Copy link
Member Author

butonic commented Mar 4, 2024

@micbar stable-4.0 does not support autoaccept. And we do not backport features, do we?

@butonic butonic self-assigned this Mar 4, 2024
@micbar micbar mentioned this pull request Mar 13, 2024
71 tasks
@micbar micbar mentioned this pull request Jun 19, 2024
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants